import http from './request'

// 创建订单的接口
export const createOrderApi = (data) => http.post('/api/order/create', data)

// 获取订单详情
export const getOrderDetailApi = (order_no) =>
  http.get('/api/order/status', { params: { order_no } })
